package net.maku.module.news.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;

import net.maku.framework.common.utils.DateUtils;
import java.util.Date;

/**
* 业务_新闻
*
* @author    
*/
@Data
@Schema(description = "业务_新闻")
public class NewsVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "主键")
	private Long id;

	@Schema(description = "创建人")
	private Long creator;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "更新人")
	private Long updater;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;

	@Schema(description = "版本")
	private Integer version;

	@Schema(description = "删除标识")
	private Integer deleted;

	@Schema(description = "标题")
	private String title;

	@Schema(description = "新闻简介")
	private String newsBrief;

	@Schema(description = "分类id")
	private Long typeId;

	@Schema(description = "发布人id")
	private Long staffId;

	@Schema(description = "列表图")
	private String imgUrl;

	@Schema(description = "附件")
	private String fileUrl;

	@Schema(description = "是否定时发送")
	private Integer isTiming;

	@Schema(description = "发布时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date timingDate;

	@Schema(description = "公告内容")
	private String contentStr;

	@Schema(description = "发布状态")
	private Long stateId;

	@Schema(description = "已读")
	private Integer readNumber;

	@Schema(description = "未读")
	private Integer collectionNumber;

}